package com.practice.springboot_01_zwj.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class MainTaskWithSubTasksDTO {
    private Integer mainId;
    private String mainName;
    private String mainDescription;
    private String distributor;
    private String executor;
    private String belonging;
    private String phone;
    private Double taskProgress;
    private Double timeProgress;
    private String taskImplementation;
    private Integer taskState;
    private Integer userId;
    private String taskType;
    private String implementDescription;
    private Double indexValue;
    private Double selfRating;
    private String specializedName; //专项名称
    private String deptName; //科室名称

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getSpecializedName() {
        return specializedName;
    }

    public void setSpecializedName(String specializedName) {
        this.specializedName = specializedName;
    }

    public String getImplementDescription() {
        return implementDescription;
    }

    public void setImplementDescription(String implementDescription) {
        this.implementDescription = implementDescription;
    }

    public Double getIndexValue() {
        return indexValue;
    }

    public void setIndexValue(Double indexValue) {
        this.indexValue = indexValue;
    }

    public Double getSelfRating() {
        return selfRating;
    }

    public void setSelfRating(Double selfRating) {
        this.selfRating = selfRating;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planBeginTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date actualFinishTime;

    // 主任务执行人信息
    private String executorAcName;
    private String executorCityName;
    private String executorPhone;

    // 子任务列表
    private List<SubTaskWithBatchDTO> subTasks;
    private List<BatchSubTaskDTO> batchSubTasks;

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public List<BatchSubTaskDTO> getBatchSubTasks() {
        return batchSubTasks;
    }

    public void setBatchSubTasks(List<BatchSubTaskDTO> batchSubTasks) {
        this.batchSubTasks = batchSubTasks;
    }

    public Integer getMainId() {
        return mainId;
    }

    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }

    public String getMainName() {
        return mainName;
    }

    public void setMainName(String mainName) {
        this.mainName = mainName;
    }

    public String getMainDescription() {
        return mainDescription;
    }

    public void setMainDescription(String mainDescription) {
        this.mainDescription = mainDescription;
    }

    public String getDistributor() {
        return distributor;
    }

    public void setDistributor(String distributor) {
        this.distributor = distributor;
    }

    public String getExecutor() {
        return executor;
    }

    public void setExecutor(String executor) {
        this.executor = executor;
    }

    public String getBelonging() {
        return belonging;
    }

    public void setBelonging(String belonging) {
        this.belonging = belonging;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getTaskProgress() {
        return taskProgress;
    }

    public void setTaskProgress(Double taskProgress) {
        this.taskProgress = taskProgress;
    }

    public Double getTimeProgress() {
        return timeProgress;
    }

    public void setTimeProgress(Double timeProgress) {
        this.timeProgress = timeProgress;
    }

    public String getTaskImplementation() {
        return taskImplementation;
    }

    public void setTaskImplementation(String taskImplementation) {
        this.taskImplementation = taskImplementation;
    }

    public Integer getTaskState() {
        return taskState;
    }

    public void setTaskState(Integer taskState) {
        this.taskState = taskState;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getPlanBeginTime() {
        return planBeginTime;
    }

    public void setPlanBeginTime(Date planBeginTime) {
        this.planBeginTime = planBeginTime;
    }

    public Date getPlanEndTime() {
        return planEndTime;
    }

    public void setPlanEndTime(Date planEndTime) {
        this.planEndTime = planEndTime;
    }

    public Date getActualFinishTime() {
        return actualFinishTime;
    }

    public void setActualFinishTime(Date actualFinishTime) {
        this.actualFinishTime = actualFinishTime;
    }

    public String getExecutorAcName() {
        return executorAcName;
    }

    public void setExecutorAcName(String executorAcName) {
        this.executorAcName = executorAcName;
    }

    public String getExecutorCityName() {
        return executorCityName;
    }

    public void setExecutorCityName(String executorCityName) {
        this.executorCityName = executorCityName;
    }

    public String getExecutorPhone() {
        return executorPhone;
    }

    public void setExecutorPhone(String executorPhone) {
        this.executorPhone = executorPhone;
    }

    public List<SubTaskWithBatchDTO> getSubTasks() {
        return subTasks;
    }

    public void setSubTasks(List<SubTaskWithBatchDTO> subTasks) {
        this.subTasks = subTasks;
    }
}